package cn.mily.user.service;

import cn.mily.basics.exception.UtilException;
import cn.mily.basics.utils.JsonResult;
import cn.mily.user.domain.LoginInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ILoginService {

    JsonResult login(LoginInfo loginInfo) throws UtilException;

    JsonResult loginByEmail(LoginInfo loginInfo) throws UtilException;
}
